<template>
  <div class="view">
   <img src="https://klcx-bucket.oss-cn-beijing.aliyuncs.com/klcx-xcx/ico/suc.png" class="img3"/>
    <div style="text-align: center">
      <h1>支付成功</h1>
    </div>
    <button class="btn pass fix" @click="back">完成</button>

  </div>
</template>

<script>

  export default {

    data () {
      return {

      }
    },
    watch(){

    },
    onUnload() {
      // setTimeout(() => {
      //   wx.reLaunch({
      //     url: '../index/main'
      //   })
      // },200)
    },
    methods: {
      back() {
        console.log(11111)
        wx.reLaunch({ 
          url: '../myself/main' 
        });
        // wx.reLaunch({
        //   url: '../index/main'
        // })
      },
    }
  }
</script>

<style scoped>
.view{
  padding: 50px;
  text-align: center;
}
  .img3{
    width: 120rpx;
    height: 120rpx;
    margin-top: 253rpx;
    margin-bottom: 36rpx;
  }


</style>
